package com.jinglin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jinglin.entity.po.VideoInfoFilePost;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 视频文件信息 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-03-12
 */
@Mapper
public interface VideoInfoFilePostMapper extends BaseMapper<VideoInfoFilePost> {

    void delBatchByFileIds(@Param("fileList") List<String> fileIds,@Param("userId") String userId);

    Integer sumDuration(@Param("videoId")String videoId);
}
